DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomDataSet Class / Write Method / Write(Byte[],String,Object) Method

The byte array to write dataset to

Specifies the full UID of the transfer syntax with which the data is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see the entry.

The quality factor to be used




In This Topic
    Write(Byte[],String,Object) Method
    In This Topic
    Writes dataset to a byte array with specified transfer syntax and quality factor
    Syntax
    'Declaration
     
    
    Public Overloads Sub Write( _
       ByRef Array() As Byte, _
       ByVal TransferSyntax As String, _
       ByVal Quality As Object _
    ) 
    'Usage
     
    
    Dim instance As DicomDataSet
    Dim Array() As Byte
    Dim TransferSyntax As String
    Dim Quality As Object
     
    instance.Write(Array, TransferSyntax, Quality)
    public void Write( 
       out byte[] Array,
       string TransferSyntax,
       object Quality
    )
    public:
    void Write( 
       [Out] array<byte>^ Array,
       String^ TransferSyntax,
       Object^ Quality
    ) 

    Parameters

    Array

    The byte array to write dataset to

    TransferSyntax

    Specifies the full UID of the transfer syntax with which the data is to be saved when Part 10 format is used. If omitted, the little-endian explicit VR transfer syntax is used. For details of the currently supported syntaxes, see the entry.

    Quality

    The quality factor to be used

    Remarks

    Quality is specific to the compression method being used, and is ignored for non-compressed or lossless JPEG transfer syntaxes. For Lossy JPEG, it is an integer in the range 1-100, the higher the number, the better the quality (and the larger the file) , and for JPEG 2000 lossy, it is a compression ratio. Other compression methods may use this for other purposes in the future.

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also